package com.kbbywyclient.ui.contarct;

import com.kbbywyclient.data.entity.LoansTableMenu;
import com.kbbywyclient.data.entity.ResultInfo;
import com.kbbywyclient.data.entity.TabledBuy;
import com.kbbywyclient.ui.contarct.base.IBaseView;

import java.util.List;

/**
 * Description:
 * Created by FHW
 * on 2017/4/10
 */

public class MatchTableContract {

    public interface View extends IBaseView {
        //匹配表单
        void loadSucMatchTable(List<ResultInfo> resultInfoList);

        void loadFaiMatchTable(String errorMsg);

        void setAdapterOrNotify(List<ResultInfo> resultInfoList);

        void setNoMore();

        void setMoreComplete();

        //贷款申请表筛选菜单
        void loadSucMenu(LoansTableMenu loansTableMenu);

        void loadFaiMenu(String errorMsg);

        //购买 表单

        void loadSucTableBuy(TabledBuy tabledBuy, String buyType);

        void loadFaiTableBuy(String errorMsg);

    }

    public interface Presenter {

        void getloansPPOrder(boolean isClean, String SalesID, String City, String CompanyID, String CompanyTypeID
                , String LoansType, String WorkTypeList, String House, String CreditCard, String Car
                , String Credit, String MonthlyIncome, int ApplyStarDateTime, int ApplyEndDateTime);

        void getloansOrdersMenu(String SalesID);

        void getApplyLoansBuyy(String SalesID, String ApplyLoansID, String ApplyLoansSN,String Monopolize, String BuyType);

    }


}
